package com.micro.modual.service;

import com.micro.core.frame.service.BasicsService;
import com.micro.core.resp.RespJson;
import com.micro.core.resp.RespJsonData;
import com.micro.core.resp.RespJsonPageData;
import com.micro.modual.entity.GoodsBrandCategory;
import com.micro.modual.model.bo.goodsbrandcategory.GoodsBrandCategoryBO;
import com.micro.modual.model.bo.relation.RelationBrandCategoryBO;
import com.micro.modual.model.dto.relation.RelationBrandCategoryListDTO;

import java.util.List;
import java.util.Map;


/**
*  <h1>商品品牌分类关联表 接口</h1>
 * @author LevelCoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:10
 */
public interface GoodsBrandCategoryService extends BasicsService<GoodsBrandCategory,Long>{

    /**
     * <h2>根据品牌编号查询分类关联信息</h2>
     * @param map  请求对象
     * @return
     */
    RespJsonPageData<RelationBrandCategoryListDTO> findRelationBrandCategoryPageList(Map<String,Object> map);

    /**
     * 新增品牌分类关联
     * @param relationBrandCategoryBO
     * @return
     */
    RespJson addRelationBrandCategory(RelationBrandCategoryBO relationBrandCategoryBO);

    /**
     * <h2>根据分类编号查询品牌关联信息</h2>
     * @param map 分类编号
     * @return
     */
    RespJsonData<List<RelationBrandCategoryListDTO>> findRelationBrandCategoryList(Map<String,Object> map);
}
